package com.chance.cc.crawler.prod.command.trigger.domain.vm.autohome;

import com.chance.cc.crawler.core.CrawlerJob;
import com.chance.cc.crawler.meta.core.bean.CrawlerMetaConstant;
//import com.chance.cc.crawler.prod.command.job.domain.vm.autohome.geely.AutoHomeForumJeelyReleaseCrawlerSchedulerJob;
//import com.chance.cc.crawler.prod.command.job.domain.vm.autohome.geely.AutoHomeForumJeelyTraceCrawlerSchedulerJob;
import com.chance.cc.crawler.prod.command.job.domain.vm.autohome.praiseZd.AutoHomePraiseArticleZdCrawlerSchedulerJob;
import com.chance.cc.crawler.prod.command.trigger.CommonCrawlerSchedulerTrigger;

/**
 * @Author: ZhaoHhuan on 2021/9/10 13:09
 * @Email: 18638575967@163.com
 * @Description:
 *      汽车之家 口碑 周度采集
**/
public class AutoHomePraiseZdCrawlerScheduleTrigger extends CommonCrawlerSchedulerTrigger {


    public static void main(String[] args) {
            publishAutoHomePraiseArticleCrawlerScheduleTriggerInfo();
    }

    public static void publishAutoHomePraiseArticleCrawlerScheduleTriggerInfo(){
        CrawlerJob crawlerJob = AutoHomePraiseArticleZdCrawlerSchedulerJob.autoHomeScheduler();

        metaServiceCommand_17.addOrUpdateScheduleCrawlerTrigger(
                crawlerJob.generateCrawlerKey(),
                crawlerJob.generateCrawlerTriggerKey(),
                AutoHomePraiseArticleZdCrawlerSchedulerJob.domain,
//                CrawlerMetaConstant.ScheduleJobTrigger_Simple,
                CrawlerMetaConstant.ScheduleJobTrigger_Cron,
                "0 10 4 ? * MON",
//                "",
                "汽车之家口碑文章周度采集，每周一的4:10开始采集"
        );
    }
}
